<extend name="Public/base" />
<block name="body">
    <div class="main-title" style="padding-bottom: 10px;">
        <h2>订货汇总</h2>
    </div>
    <div class="cf">
        <div class="fl">
            <form method='POST' action="{:U('ExportBookTotal')}" id="form-export">
                <a class="btn btn-default" href="javascript:;" id="ExportSubmit">导出</a>
            </form>
        </div>
    </div>
    <div class="data-table table-striped">
        <table>
            <thead>
            <tr>
                <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
                <th>商品ID</th>
                <th>商品名称</th>
                <th>总订货数量</th>
                <th>京华城店</th>
                <th>梅岭店</th>
                <th>望月路店</th>
                <th>三盛店</th>
                <th>时代店</th>
                <th>虹桥坊店</th>
                <th>彩虹汇店</th>
                <th>文昌店</th>
                <th>兴城路店</th>
                <th>中医院店</th>
                <th>星耀天地店</th>
                <th>新都坊店</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="_list">
                <volist name="_list" id="vo">
                    <tr>
                        <td><input class="ids" type="checkbox" name="id[]" value="" /></td>
                        <td>{$vo[0]} </td>
                        <td>{$vo[1]} </td>
                        <td>{$vo[2]} </td>
                        <td>{$vo[3]} </td>
                        <td>{$vo[4]} </td>
                        <td>{$vo[5]} </td>
                        <td>{$vo[6]} </td>
                        <td>{$vo[7]} </td>
                        <td>{$vo[8]} </td>
                        <td>{$vo[9]} </td>
                        <td>{$vo[10]} </td>
                        <td>{$vo[11]} </td>
                        <td>{$vo[12]} </td>
                        <td>{$vo[13]} </td>
                        <td>{$vo[14]} </td>
                    </tr>
                </volist>
                <else/>
                <td colspan="10" class="text-center"> aOh! 暂时还没有内容! </td>
            </notempty>
            </tbody>
        </table>
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>

    <script type="text/javascript">
        $('#ExportSubmit').click(function () {
            document.getElementById("form-export").submit();
        });
        //导航高亮
        highlight_subnav('{:U('SpBookproduct/bookproducttotal')}');
    </script>
</block>